<template>
	<view class="container" style="padding-bottom: 120rpx;">
		<u--form labelWidth="140rpx">
			<u-form-item label="盘点方式" prop="way" labelWidth="140rpx">
			  <uni-data-select
			  	v-model="query.way"
			  	:localdata="checkWays"
			  	:clear="false"
			  ></uni-data-select>
			</u-form-item>
		  <u-form-item label="母托码" prop="palletCode" labelWidth="140rpx">
		    <u--input
		      placeholder="请扫码"
		      v-model.number="query.palletCode"
		      suffixIcon="scan"
		      suffixIconStyle="font-size: 68rpx"
		      style="flex: 1;"
		    >
		    </u--input>
		  </u-form-item>
			<u-form-item label="物料码" prop="materialCode" labelWidth="140rpx">
		    <u--input
		      placeholder="请扫码"
		      v-model.number="query.materialCode"
		      suffixIcon="scan"
		      suffixIconStyle="font-size: 68rpx"
		      style="flex: 1;"
		    >
		    </u--input>
		  </u-form-item>
			<u-form-item label="库存数量" prop="qty" labelWidth="140rpx">
		    <u--input
		      v-model.number="query.qty"
		      style="flex: 1;"
		    >
		    </u--input>
		  </u-form-item>
			<u-form-item label="盘点数量" prop="checkQty" labelWidth="140rpx">
		    <u--input
		      placeholder="请输入"
		      v-model.number="query.checkQty"
		      style="flex: 1;"
		    >
		    </u--input>
		  </u-form-item>
		</u--form>
		<u-toast ref="uToast"></u-toast>
		<view class="commonButton">
			<u-button type="primary">确认</u-button>
		</view>
	</view>
</template>

<script>
	import {
	  uniCard,
	  uniTable,
	  uniTr,
	  uniTd,
	  uniTh,
		uniDataSelect
	} from '@dcloudio/uni-ui'
	export default {
		components: {
			uniCard,
			uniTable,
			uniTr,
			uniTd,
			uniTh,
			uniDataSelect
		},
		data() {
			return {
				query: {
					way: ''
				},
				checkWays: [{
					value: '',
					text: '扫码'
				}, {
					value: '',
					text: '点数'
				}]
			};
		}
	}
</script>

<style lang="scss">

</style>
